/*
 * Created on 03/11/2005
 */
package tp.controller;

import java.util.TimerTask;

import tp.model.Nave;

public class TimerController extends TimerTask {

	private Nave nave;

	public TimerController(Nave n) {
		nave = n;
	}

	public void run() {
		if (nave != null) {
			nave.setDisparar(true);
		}
	}
}
